import { ApiBase } from "../http";

export class ApiMenu extends ApiBase {
  prefix: string = "api/menu";

  changeParent(pid: number, children: number[]) {
    return super.put<number>(`change-parent/${pid}/${children}`);
  }
}
